class ShareModel {
  String title;
  String imgUrl;
  String url;
  String content;
  String key;

  ShareModel({this.title, this.imgUrl, this.url, this.content, this.key});

  ShareModel.fromJson(Map<String, dynamic> json) {
    title = json['title'];
    imgUrl = json['imgUrl'];
    url = json['url'];
    content = json['content'];
    key = json['key'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['title'] = this.title;
    data['imgUrl'] = this.imgUrl;
    data['url'] = this.url;
    data['content'] = this.content;
    data['key'] = this.key;
    return data;
  }
}
